@@ -93,7 +93,7 @@ describe Agents::PushbulletAgent do |
||
93 | 93 |
describe '#complete_device_id' do |
94 | 94 |
it "should return an array" do |
95 | 95 |
mock(@checker).devices { [{'iden' => '12345', 'nickname' => 'huginn'}] } |
96 |
- expect(@checker.complete_device_id).to eq([{:text=>"huginn", :id=>"12345"}]) |
|
96 |
+ expect(@checker.complete_device_id).to eq([{:text=>"All Devices", :id=>"__ALL__"}, {:text=>"huginn", :id=>"12345"}]) |
|
97 | 97 |
end |
98 | 98 |
end |
99 | 99 |
|